package com.xq.components.sms.aliyun;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 描述：阿里云相关秘钥和key配置数据
 */
@Data
@Component
@ConfigurationProperties(prefix="aliyun.sms")
public class KeyConfig {

    //TODO 以后修改为以环境变量配置的形式，更加安全
    /**
     * AccessKey
     */
    private String ak;
    /**
     * AccessKeySecret
     */
    private String sk;
}
